1d442a735cc3fd793030d05a0f8b9bbe71cb16cf,java/org/apache/catalina/valves/rewrite/RewriteValve.java,RewriteValve,invoke,#Request#Response#,280

Before Change


                    request.getMappingData().recycle();
                    // Reinvoke the whole request recursively
                    try {
                        request.getConnector().getProtocolHandler().getAdapter().service
                        (request.getCoyoteRequest(), response.getCoyoteResponse());
                    } catch (Exception e) {
                        // This doesn't actually happen in the Catalina adapter implementation

After Change


                    request.getMappingData().recycle();
                    // Reinvoke the whole request recursively
                    try {
                        Connector connector = request.getConnector();
                        if (!connector.getProtocolHandler().getAdapter().prepare(
                                request.getCoyoteRequest(), response.getCoyoteResponse())) {
                            return;
                        }
                        Pipeline pipeline = connector.getService().getContainer().getPipeline();
                        request.setAsyncSupported(pipeline.isAsyncSupported());
                        pipeline.getFirst().invoke(request, response);